package com.cloud.sms.dao;

import com.cloud.sms.model.SmsWhiteList;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

@Component
@Mapper
public interface SmsWhiteListMapper {
    int deleteByPrimaryKey(Integer smsWhiteListSeq);

    int insert(SmsWhiteList record);

    int insertSelective(SmsWhiteList record);

    SmsWhiteList selectByPrimaryKey(Integer smsWhiteListSeq);
    
    SmsWhiteList selectByIpAddress(String ipAddress);

    int updateByPrimaryKeySelective(SmsWhiteList record);

    int updateByPrimaryKey(SmsWhiteList record);
}